/*
 * Debug.h
 *
 *  Created on: Sep 9, 2012
 *      Author: dimir
 */

#ifndef DEBUG_H_
#define DEBUG_H_

#include <iostream>
#include <fstream>
#include <string>

enum Level{LOG_ERROR, LOG_DEBUG, LOG_TRACE};
#define LEVEL(lvl) ((lvl == LOG_ERROR)?"ERROR":((lvl == LOG_DEBUG)?"DEBUG":"TRACE"))

static const Level output_level = LOG_TRACE;
void dbg_msg(Level lvl, const char* message);


#endif /* DEBUG_H_ */
